<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Car extends Model
{
    public function good(){
        return $this->belongsTo(Commodity::class,'good_id','id');
    }
}
